-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Convert Minimum Accounts Memo to Markdown #322
Conversation
✅ Deploy Preview for cal-itp-website ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great work on the footnotes especially!
One tiny change requested to get the pill filtering to work.
And one question for Marissa.
src/_resources/fact-sheet-minimum-account-requirements-for-transit-riders.md
Outdated
Show resolved
Hide resolved
src/_resources/fact-sheet-minimum-account-requirements-for-transit-riders.md
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! One add'l change is to see if we can make the font size of the footnotes a size or two smaller than the rest of the text on the page and/or potentially add a bit more space above just to clearly distinguish it from the body of the content. Below is a footnote example from MobiMart with the smaller font. Thank you!
src/_resources/fact-sheet-minimum-account-requirements-for-transit-riders.md
Show resolved
Hide resolved
} | ||
|
||
.footnotes ol::before { | ||
content: "Footnotes"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not concerned about this from an accessibility perspective because the <div>
that Kramdown generates has a role="doc-endnotes"
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you!
@machikoyasuda okay, so there's some stuff to take note of for footnotes.
|
This PR converts the PDF to markdown but also touches the CSS to add support for footnotes and set a precedent on how to handle images with captions.
Closes #311